pipeline { 
    agent { 
        label 'win-node' 
    } 

    options {
        skipDefaultCheckout(true) // 禁止默认拉取代码
    }

    environment { 
        JENKINS_NODE_COOKIE = 'dontKillMe'
    }

    stages { 
        stage("下载平台代码") {
            steps { 
                script {
                    echo "下载代码库：${ProjectRepo}，分支：${Branch}"
                    return
                } 
            } 
        } 
        
        stage("编译构建") { 
            steps { 
                 script { 
                    echo "编译构建：${ProjectRepo}，分支：${Branch}"
                    return
                } 
            } 
        }
    }
}